import React from 'react';
import {Button} from "antd";
import {
    Routes,
    Route
} from "react-router-dom";
import Index from "@/pages/Index";
import Login from "@/pages/Login";
import NotFound from "@/pages/NotFound";

function App() {
    return (
        <Routes>
            <Route path={"/"} element={<Index/>}></Route>
            <Route path={"/login"} element={<Login/>}></Route>
            <Route path={"*"} element={<NotFound/>}></Route>

        </Routes>
    );
}

export default App;